<template>
  <div class="Cutprice">
      <top-nav title="砍价列表"></top-nav>
      <list v-for="(item,index) in kjList" :key="index" :obj="item"></list>
 </div>
</template>

<script>
import {getkj} from '../utils/api'
import list from '../components/list/list.vue'
import topNav from '../components/bottomNav/topNav.vue'
export default {
  components: { list, topNav },
  name: 'Cutprice',
  data() { 
    return {
        kjList:[]
    }
  },
  created() {
      getkj().then(res=>{
          this.kjList = res.goodsMap
          console.log(res);
      })
  },
  methods:{

  },
 }
</script>
<style lang='scss' scoped>
.Cutprice{
    width: 100%;
    height: 100%;
}
</style>